/**
 * Created by city on 2017/6/26.
 */

var swiper = new Swiper('.swiper-container', {
    loop:true,
    autoplay:5000,
    observer: true,//修改swiper自己或子元素时，自动初始化swiper
    pagination : '.swiper-pagination',
    observeParents: true//修改swiper的父元素时，自动初始化swiper
});